export const oneColumns = [
  {
    name: '名称',
    value: 'value',
    align: 'left',
    minWidth: '200px'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center',
    minWidth: '150px'
  }
]

export const RegisterDetailColunms = [
  {
    name: '名称',
    value: 'value',
    align: 'left'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center'
  }, {
    name: '注册类型大类',
    value: 'registerType',
    align: 'center'
  }
]
export const noEditColumns = [
  {
    name: '编码',
    value: 'code',
    align: 'center',
    width: '80px'
  }
]
export const ifNoEditColumnsEnd = [
  {
    name:'状态',
    value:'isValid',
    align:'center',
    formatter(row) {
      switch (row.isValid) {
        case '1':
        row.isValid = '启用'
        break
        case '0':
        row.isValid = '禁用'
        break
        default:
        break
      }
      return row.isValid
    }
  }
]
export const registerTypeColumns = [
  {
    name: '名称',
    value: 'value',
    align: 'left'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center'
  }
]

export const fileDetailColunms = [
  {
    name: '名称',
    value: 'value',
    align: 'left'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center'
  }, {
    name: '文件类型',
    value: 'registerType',
    align: 'center'
  }
]

export const accountDetailColunms = [
  {
    name: '名称',
    value: 'value',
    align: 'left'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center'
  }, {
    name: '会计核算类型',
    value: 'registerType',
    align: 'center'
  }
]

export const positionColunms = [
  {
    name: '名称',
    value: 'value',
    align: 'left'
  }, {
    name: '备注',
    value: 'remark',
    align: 'center'
  }, {
    name: '治理结构类型',
    value: 'registerType',
    align: 'center'
  }
]